<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/rp/common/taglib.jsp" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <base href="<%=basePath%>">
    
    <title>${ webpageTitle }</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	
	<script src="rp/scripts/boot.js" type="text/javascript"></script>
	
	<style type="text/css">
	   	
    </style>
	
  </head>
  
  <body class="body-p5">
  	
  	<form id="form1" name="form1" action="rp/system/baseData/preMng/importPre.do" method="post" enctype="multipart/form-data">         
        <span>文件：</span><input type="file" class="mini-htmlfile" name="file" limitType="*.txt" />
        <button class="mini-button" onclick="submitForm()"><i class="fa fa-sign-in fa-lg"></i> 开始导入</button>
       	
    </form>
  	
	<script type="text/javascript">
		$(function(){
			
		});
		
		function submitForm(){
			var form = document.getElementById("form1");
		    form.submit();
		}
	</script>
  </body>
</html>
